<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
  <head>
  <!-- 这个页面中不要包含有js!!! -->
  </head>  
  <body>
  	<!-- 验证还是jquery-validation好用，这里省事没用 -->
	<form class="auform" id="deptForm" method="post">
		<input type="hidden" name="idBgt" id="idBgt" value="123211">
		<table class="autable">
			<tr>
				<td class="autd1">上级单位：</td>
				<td class="autd2"><input name="parentId" id="parentId" style="width:100px" class="easyui-validatebox txt"></td>			
			 	<td class="autd1">部门名称：</td>
				<td class="autd2"><input name="deptName" style="width:150px" class="easyui-validatebox txt" required="true"><span class="red">*</span></td>
			</tr>
			<tr>
				<td class="autd1">部门区域：</td>
				<td class="autd2"><input name="area" style="width:150px" class="easyui-validatebox txt" required="true"><span class="red">*</span></td>			
				<td class="autd1">部门地址：</td>
				<td class="autd2"><input name="address" style="width:150px;" class="easyui-validatebox txt" required="true"><span class="red">*</span></td>
			</tr>
			<tr>
				<td class="autd1">联系电话：</td>
				<td class="autd2"><input name="phone" style="width:150px;" class="easyui-validatebox txt" required="true"><span class="red">*</span></td>
				<td class="autd1">是否出警单位：</td>
				<td class="autd2">
					<select class="easyui-combobox" name="isOut" panelHeight="auto" style="width:100px;" required="true" editable="false">
						<option value="${status.IS_OUT_YES}">是</option>
						<option value="${status.IS_OUT_NO}">否</option>
					</select><span class="red">*</span>
				</td>
			</tr>
			<tr>
				<td class="autd1">备    注：</td>
				<td class="autd2" colspan="3"><textarea name="remark" class="txtarea"></textarea></td>
			</tr>
			<tr>
				<td class="autd3" colspan="4">
					<a href="#" id="btn-back" onclick="$('#MyPopWindow').window('close');" class="easyui-linkbutton" iconCls="icon-cancel">取消</a>
					<a href="#" id="btn-add" onclick="addOrUpdate('${param.update}');" class="easyui-linkbutton" iconCls="icon-save">保存</a>
				</td>
			</tr>
		</table>
	</form>
  </body>
</html>
